package headfirst.designpatterns.factory.a_cars_simplefactory1.car;

/**
 * @description: 抽象产品
 * @author: 陈家盛
 * @date: 2022/6/22 10:26
 * @version: 1.0
 */
public abstract class Car {
    private String name;

    public abstract void drive();

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
